Alias Name dialog box
This dialog box appears when you click the Set Alias button in the Set Alias dialog box, or when you select a new database, if you have cleared the Use Default Alias option (on the Database tab of the Options dialog box). That option is selected by default. The Use Default Alias option tells the program to automatically use the database name (minus the extension) as the default alias. For example, the program will automatically generate the alias xtreme for the xtreme.mdb database.
Use the Alias Name dialog box to change the alias assigned to the selected database:
- if you want to use the alias currently displayed in the box, click OK
- if you want to change the alias, type in a new alias and then click OK.
Note:
- Changes you make via this dialog box do not affect the aliases already used in formulas. When you change an alias, you must make certain that you change any formula references to the old alias as well. For example, if you change the "company" alias to "customer," you must make certain that you change any applicable formula references from {company.FIELDNAME} to {customer.FIELDNAME}. If you do not make these changes, the program will not be able to locate the referenced field, and will return an error message. Formula references can be found in both formulas used in the report and selection formulas.
- The Set Alias command changes the alias, and not the database location. If you want to change the location of a database (tell Crystal Reports to find the database in a new location), choose the Set Location command from the Database menu.
Related topics
Set Alias command
Options command
Database tab
Set Alias dialog box